<title>About this tool:</title>
This tool calculates the required Base resistor for a PNP transistor circuit for switching on a load by a low input signal (0). The calculation is the same as for the NPN transistor circuit. The main difference is that now the load is switched on by a low input signal, e.g. a microcontroller I/O pin that is configured as input and set to 0.

From the power supply (Uss) and the load resistor (Rl) the load current (Ic) is calculated. From the base current (Ib), which is also the current flowing into the switching input (e.g. an I/O pin from a microcontroller) the minimum required gain (hfe, beta) is calculated. These values are then multiplied by a safety factor (1.5 or 2 for Ic and a factor of 5 – rule of thumb - for hfe) to get the recommended values. To find a suitable transistor those recommended values should be used.

The required base resistor (Rb) and pull up (Rbe) are calculated in a next step by the base current (Ib) and the switching voltage (Usw) minus the Base-Emitter voltage (Ube).

The power dissipation of the transistor (Pdiss, PNP) is calculated by using the actual Collector-Emitter (Uce) voltage of a selected transistor type. E.g. for the BC558 the Collector-Emitter saturation voltage is -0.25V at a collector current of -100mA and a Base current of -5mA.

The power dissipation of the Load (Pdiss, Load) is then calculated in the same manner.

<_image>Calc8_sub02_pic02.png</_image>

<_image>Calc8_sub02_pic03.png</_image>

